package com.my.structuraltype.composite;

public class TailCompany extends Company {

	public TailCompany(String name, int grade) {
		super(name, grade);
	}

	@Override
	public void add(Company company) {
		throw new UnsupportedOperationException();
	}

	@Override
	public void remove(Company company) {
		throw new UnsupportedOperationException();
	}

}
